package com.jbp.utils;

/**
 * 常量
 *
 * @author Mark sunlightcs@gmail.com
 */
public class Constant {

    /**
     * 当前页码
     */
    public static final String PAGE = "page";
    /**
     * 每页显示记录数
     */
    public static final String LIMIT = "limit";
    /**
     * 排序字段
     */
    public static final String ORDER_FIELD = "sidx";
    /**
     * 排序方式
     */
    public static final String ORDER = "order";
    /**
     *  升序
     */
    public static final String ASC = "asc";



    public  static  final  String LETTER="QWERTYUIOPASDFGHJKLZXCVBNM123456789";

    public static final String USER_ID = "userId";


    public static final String URLKEY="GmtWrMXg6ruVzJ1oCRQY9g==";

    //验证码缓存前缀
    public static final String CODE_PREFIX = "CODE_PREFIX:";

    //用户房间缓存前缀
    public static final String ROOM_PREFIX = "ROOM_PREFIX:";
    //验证码缓存时间 3分钟
    public static final long CODE_TIME = 60*3;

    //用户房间在线缓存时间 5分钟
    public static final long ONLINE_TIME = 60*5;
}

